import {
	request
} from "../api.js"

// 随机视频
export const videoList = (data) => {
	return request("video/list", "GET")
}

// 发布评论
export const videoCommentPush = (data) => {
	return request("video/comment_push", "POST", data)
}

// 视频评论
export const videoComment = (data) => {
	return request("video/comment", "GET", data)
}

// 视频点赞
export const videolove = (data) => {
	return request("video/love", "POST", data)
}

// 视频收藏
export const videocollect = (data) => {
	return request("video/collect", "POST", data)
}

// 收藏视频列表
export const videoCollectList = () => {
	return request("video/collect_list", "GET")
}

// 视频列表搜索
export const videoVideoList = (data) => {
	return request("video/video_list", "GET", data)
}